projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340aaaf
)
[IA64] fix vmx_switch_rr7(). uninitialized register r3 was used. initialize it.
author
Alex Williamson
<alex.williamson@hp.com>
Sun, 30 Dec 2007 19:50:09 +0000
(12:50 -0700)
committer
Alex Williamson
<alex.williamson@hp.com>
Sun, 30 Dec 2007 19:50:09 +0000
(12:50 -0700)
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/vmx/vmx_entry.S
patch
|
blob
|
history
diff --git
a/xen/arch/ia64/vmx/vmx_entry.S
b/xen/arch/ia64/vmx/vmx_entry.S
index 2bc9add8a2fad4132233b813c227d02c08fa3a07..9b15e41ac932dfc26277b68f477c8c6c7e2ca036 100644
(file)
--- a/
xen/arch/ia64/vmx/vmx_entry.S
+++ b/
xen/arch/ia64/vmx/vmx_entry.S
@@
-635,7
+635,7
@@
GLOBAL_ENTRY(vmx_switch_rr7)
movl loc2=PERCPU_ADDR
;;
tpa loc2 = loc2 // get physical address of per cpu date
- ;;
+ tpa r3 = r8 // get physical address of ip
dep loc5 = 0,in1,60,4 // get physical address of guest_vhpt
dep loc6 = 0,in2,60,4 // get physical address of pal code
;;
@@
-672,9
+672,7
@@
GLOBAL_ENTRY(vmx_switch_rr7)
mov cr.itir=r18
mov cr.ifa=r17
mov r16=IA64_TR_KERNEL
- //mov r3=ip
movl r25 = PAGE_KERNEL
- ;;
dep r2=0,r3,0,KERNEL_TR_PAGE_SHIFT
;;
or r24=r2,r25